package adv4;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class CalTest2 {

	public static void main(String[] args) {
		// 求今年有多少个周二
		// Calendar c = Calendar.getInstance();
		// c.setFirstDayOfWeek(Calendar.TUESDAY);
		// int z2 = c.getActualMaximum(Calendar.WEEK_OF_YEAR);
		// System.out.println(z2);
		Date d = new Date();
		SimpleDateFormat s = new SimpleDateFormat("E");
		System.out.println(s.format(d));
	}
}
